package com.offcn.sellergoods.feign;

import com.offcn.entity.Result;
import com.offcn.sellergoods.pojo.Brand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "sellergoods")
public interface BrandFeign {

    @GetMapping("/brand/")
    public Result<List<Brand>> findAll();
}
